package com.jxdinfo.hussar.cloud.module.example.lift.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 升降机工时统计表(TowerTimeCount)查询DTO类
 * @author zhangkai
 * @since 2023-06-16 10:49
 */
@ApiModel(description = "升降机工时统计表SearchDTO")
@Data
public class LiftTimeCountSearchDto  {

    private static final long serialVersionUID = 1L;

    private Integer page;
    private Integer rows;

    /**
     * 升降机Id
     */
    @ApiModelProperty(value = "升降机Id")
    private String liftId;
    /**
     * 项目编号
     */
    @ApiModelProperty(value = "项目编号")
    private String tyProjectCode;
    /**
     * 开始时间
     */
    @ApiModelProperty("开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date workStartTime;
    /**
     * 结束时间
     */
    @ApiModelProperty("结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date workEndTime;

}
